<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        table{
            width: 400px;
            text-align: center;
            border-collapse: collapse;
            /* 边框变单线 */
        }
    </style>
</head>

<body>
    <table border="1">
        <tr>
            <th>编号</th>
            <th>姓名</th>
            <th>年龄</th>
            <th>成绩</th>
        </tr>
        <tr>
            <td colspan="2">1000</td> 
            <!-- 用了colspan是跨列 删紧接着的 -->
            <td>18</td>
            <td>80</td>
        </tr>
        <tr>
            <td rowspan="2">1005</td>
            <!-- 用了rowspan是跨行 删除第二个tr中的相同位置 -->
            <td>李四</td>
            <td>18</td>
            <td>80</td>
        </tr>
        <tr>
            
            <td>王五</td>
            <td>19</td>
            <td>95</td>
        </tr>
        <tr>
            <td>1002</td>
            <td>马六</td>
            <td>20</td>
            <td>90</td>
        </tr>
        <tr>
            <td>1003</td>
            <td>赵七</td>
            <td>19</td>
            <td>85</td>
        </tr>
    </table>
</body>

</html>